/*
 * @Author: dfy
 * @Date: 2022-11-24 20:44:16
 * @LastEditors: dfy
 * @LastEditTime: 2022-12-21 16:55:11
 * @FilePath: \FPCC\components\cc-isFirstLaunch\cc-isFirstLaunch.js
 * @Description: 
 * 
 * Copyright (c) 2022 by YongXin, All Rights Reserved. 
 */
// index.js
// 获取应用实例
const app = getApp()

Page({
  data: {
    Height: wx.getSystemInfoSync().windowHeight,
    Width: wx.getSystemInfoSync().windowWidth,
    indicatorDots: true,
    // 用于记录小圆点的索引
    current: 0,
  },
  swiperChange(e) {
    this.setData({
      current: e.detail.current
    })
    if (e.detail.current === 3) {

      this.setData({
        indicatorDots: false,
      })
    } else {
      this.setData({
        indicatorDots: true,
      })
    }
  },
  isShowWel(){
//   wx.navigateTo({
//       url: '/pages/index/index'
// })
this.triggerEvent('closeWel',false)
  }
})
